#include<iostream>
using namespace std;
int main() {
    int a;
    int i;
    int b;
    cin >> a;
    for (i = 1; i <= a; i++)
    {
        for (b = 1; b <= a; b++)
        {
            if (b < a - i)
                cout << " ";
            else
                cout << "*";


        }cout << endl;



    }
}
